package com.reform.service;

import com.reform.pojo.project.ProjectTeaching;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reform.res.Result;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * 主要教学工作简历 服务类
 * </p>
 *
 * @author mortale
 * @since 2021-07-20
 */
public interface IProjectTeachingService extends IService<ProjectTeaching> {


    /**
     * 删除工作简历
     * @param proId
     * @return
     * @throws SQLException
     */
    Integer deleteProjectTeachingByProId(String proId) throws SQLException;


    /**
     * 创建工作简历
     * @param projectTeachingList
     * @return
     * @throws SQLException
     */
    Integer creatProjectTeachingList(List<ProjectTeaching> projectTeachingList) throws SQLException;

    /**
     * 修改工作简历
     * @param projectTeachingList
     * @return
     * @throws SQLException
     */
    Integer updateProjectTeachingList(List<ProjectTeaching> projectTeachingList) throws SQLException;

    /**
     * 通过teaching_id删除主要教学工作简历
     * @param teaching_id
     * @return
     * @throws SQLException
     */
    Result deleteProjectTeachingByTeachingId(String teaching_id) throws SQLException;

    /**
     * 添加主要教学工作简历
     * @param projectTeachingList
     * @return
     */
    Result insertProjectTeaching(String projectTeachingList) throws SQLException;
}
